<template>
    <div class="footer">
        <router-view></router-view>
        <van-tabbar v-model="active" route>
  <van-tabbar-item icon="home-o" to="/index">首页</van-tabbar-item>
  <van-tabbar-item icon="search" to="kind">分类</van-tabbar-item>
  <van-tabbar-item icon="friends-o" to="shop">购物车</van-tabbar-item>
  <van-tabbar-item icon="setting-o" to="user">用户</van-tabbar-item>
</van-tabbar>
      </div>
</template>